package com.sky.service;

import com.sky.dto.AddDishDTO;
import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishPageQueryItemVO;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    void addDish(AddDishDTO addDishDTO);

    PageResult<DishPageQueryItemVO> page(DishPageQueryDTO dto);

    void delete(List<Long> ids);

    DishVO getById(Long id);

    void update(DishDTO dishDTO);

    List<Dish> addsetmeal(Long categoryId);

    List<DishVO> seleteByCategoryId(Long categoryId);
}
